package com.le.dub.service;

import com.le.dub.common.Response;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author guole
 * @created 2024/10/9
 */
public interface IFileService {

     String upload(byte[] data, String suffix, Integer type);
    String upload(  MultipartFile file, Integer type) throws IOException;

    }
